<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class="active"><a href="#fa-icons">列表</a></li>
		<li class=""><a href="{:Url('add')}">添加图片位置</a></li>
	</ul>
	
	<table class="table table-hover table-bordered" id="menus-table">
		<thead>
			<tr>
				<th width="50">ID</th>
				<th>名称</th>
				<th width="100">位置宽度</th>
				<th width="100">位置高度</th>
				<th width="140">添加时间</th>
				<th width="100">操作</th>
			</tr>
		</thead>
		<tbody>
			{volist name="list" id="vo"}
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.name}</td>
				<td>{$vo.picwidth}px</td>
				<td>{$vo.picheight}px</td>
				<td>{$vo.create_time}</td>
				<td>
					<div class="visible-md visible-lg hidden-sm hidden-xs">
                        <a href="{:Url('piclist',array('picid'=>$vo['id']))}" class="btn btn-xs btn-info btn-flat" data-toggle="tooltip" data-placement="top" title="当前图片位置的图片列表"><i class="fa fa-list"></i></a>
                        <a href="{:Url('edit',array('id'=>$vo['id']))}" class="btn btn-xs btn-primary btn-flat" data-toggle="tooltip" data-placement="top" title="编辑图片位置"><i class="fa fa-edit"></i></a>
                        <a href="{:Url('delete',array('id'=>$vo['id']))}" class="btn btn-xs btn-danger btn-flat js-ajax-del" data-toggle="tooltip" data-placement="top" title="删除图片位置"><i class="fa fa-trash-o"></i></a>
					</div>
				</td>
			</tr>
			{/volist}
		</tbody>
	</table>
	{$list->render()}

</div>